Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: offline iNotes Web Access: Outlook error!?
~Joseph Ekfanasongon 19.Oct.03 12:11 PM a Web browser
Domino Server 6.0.2 CF1 Windows 2000


Hallo,

We had the same issue.I use following code te remove the profile document "dolsofflineconfiguration" in the mail file. Afterwards an new "dolsofflineconfiguration" document will be created automatically with the default settings when going offline.


Kind Regards,


import lotus.domino.*;
public class SetFieldProfileDoc extends AgentBase {
public void NotesMain() {
try {
Session session = getSession();
AgentContext agentContext = session.getAgentContext();
Database db = agentContext.getCurrentDatabase();
Document doc = db.getProfileDocument("dolsofflineconfiguration", "");
if (doc =! null) {
if ( doc.remove(true) ) System.out.println("OK");
} else System.out.println("document not found!");
} catch(Exception e) {
e.printStackTrace();
}
}
}




offline iNotes Web Access: Outlook ... (~Delores Destum... 14.Aug.03)
. . RE: offline iNotes Web Access: Outl... (~Samuel Xanfoom... 15.Aug.03)
. . . . RE: offline iNotes Web Access: Outl... (~Delores Destum... 18.Aug.03)
. . . . . . RE: offline iNotes Web Access: Outl... (~Joseph Ekfanas... 19.Oct.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS